﻿using System;
using System.Linq;
using WikeSoft.WorkFlowEngine.Entities;

namespace WikeSoft.WorkFlowEngine.CodeFirst
{
    class Program
    {
        static void Main(string[] args)
        {


            //var data = service.getAll();

            //如果是Oracle，
            using (var ctx = new WorkFlowDbContext())
            {

                var query = ctx.WorkFlowCategories.Where(x => true);

                var list = query.ToList();


               // var data = query.FirstOrDefault(x => x.Id = new Guid("067A9FFD-462F-4398-8006-2B5657CBDDE6"));

                //var users = ctx.Users.Where(x => true);

            }

            Console.WriteLine("\n\n按[回车]键退出...");
            Console.ReadLine();

        }

    }

}
